package dk.dashboardFP.panels.loggerPanel {
	import flash.display.Sprite;

	/**
	 * @author josef
	 */
	public class LevelMark extends Sprite {

		private var _index : int;
		private var _colorAsset : LogLevelColorBarAsset;

		public function LevelMark(index:int) {
			_index = index;
			
			setupElements();
		}

		private function setupElements() : void {
			
			// asset 
			_colorAsset=new LogLevelColorBarAsset();
			_colorAsset.gotoAndStop(_index+1);
			
			addChild(_colorAsset);
		}
	}
}
